canvas:attrColor(0,255,0,255);
canvas:drawRect("fill",0,0,canvas:attrSize());

canvas:attrColor('white')
canvas:attrFont ('arial', 60, 'bold')

canvas:drawText(20,10,'Titulo 2')

canvas:flush();